﻿<div class="toolbox_googlemaps">

    <table style="width:100%">
        <tr>
            <td>
                <select id="my_selct_loai_ban_do_find_vnpt_site" multiple  style="width:200px;" class="easyui-combotree"></select>
    &nbsp;&nbsp;<a href="#" class="easyui-linkbutton" onclick="return VIEW_VNPT_SITE_ON_MAPS()" data-options="iconCls:'icon-search'">Hiển thị</a>
            </td>
            <td>
                <select id="my_selct_loai_cap_find_vnpt_site" multiple  style="width:200px;" class="easyui-combotree"></select>
    &nbsp;&nbsp;<a href="#" class="easyui-linkbutton" onclick="return VIEW_CAP_QUANG_ON_MAPS()" data-options="iconCls:'icon-search'">Hiển thị cáp</a>
            </td>
            <td>
                <a href="#" class="icon_darw" onclick="return Add_vnpt_site_maps()">
                    <img src="~/Content/images/marker.png" />
                </a>
            </td>
            <td>

            </td>
            <td>
                <input class="easyui-combobox" value="NKU" style="width:200px;" id="quanhuyen_viewsmaps" name="quanhuyen_viewsmaps">
            </td>
            <td>
                
                <select class="easyui-combobox" data-options="onSelect: function (row) { setMapType(row.value); }" id="viewsmapsas" name="viewsmapsas" style="width:200px;">
                    @*<option onclick="return setMapType('ROADMAP');" selected="selected" value="ROADMAP">Hiển thị maps</option>*@
                    <option value="ROADMAP">Loại Maps: ROADMAP</option>
                    <option value="SATELLITE">Loại Maps: SATELLITE</option>
                    <option value="HYBRID">Loại Maps: HYBRID</option>
                    <option value="TERRAIN">Loại Maps: TERRAIN</option>
                </select>
            </td>
        </tr>
    </table>
    



</div>



<div class="Maps_pageInDex">
<div id="map-canvas" style="border:1px solid #e9e9e9;width:100%; height:100%">

</div>
    </div>


<script type="text/javascript">

    $("#map-canvas").css('width', $(window).width() - 10);
    $("#map-canvas").height($(window).height() - 90);

    initialize_maps();

    $("#my_selct_loai_ban_do_find_vnpt_site").combotree({

        url: _nameSubDomain + '/BanDo/listLopBanDo',
        method: 'get',
        value : '0'

    });

    $("#my_selct_loai_cap_find_vnpt_site").combotree({

        url: _nameSubDomain + '/BanDo/listLoaicapBanDo',
        method: 'get',
        value: '0'

    });

    $("#quanhuyen_viewsmaps").combobox({
        url: _nameSubDomain + "/BanDo/QuanHuyenList",
        valueField: "MA_QUAN",
        textField: "TEN_QUAN",
        onSelect: function (row) {
           
            change_view_dirctect(row.CLAT, row.CLONG, row.TEN_QUAN);

        }

    });

    

    

</script>